<?php if ($this->register_list) { ?>
<?php foreach ($this->register_list AS $key => $val) { ?>
<tr>
    <td style="text-align:center"><span>
		<?php if($val['coin_type'] == 0) {?>
		<!--直接奖励--><?php _e('自己邀请注册奖励'); ?>
		<?php } else if($val['coin_type'] == 1) { ?>
		<!--一级奖励-->
            <a href="people/<?php echo $val['first_name']; ?>">
                <?php _e($val['first_name']); ?>
            </a>
		<!--二级奖励-->
		<?php } else if($val['coin_type'] == 2) { ?>
            <!--被邀请用户
            <a href="people/<?php echo $val['first_user_info']['user_name']; ?>">
                <?php _e($val['first_user_info']['user_name']); ?>
            </a>邀请新用户-->
            <a href="people/<?php echo $val['second_name']; ?>">
                <?php _e($val['second_name']); ?>
            </a>

		<?php }else if($val['coin_type'] == 4) {?>
        <?php echo $val['base_uid'] ;?>
        <?php }?>
	</span></td>
    <?php if($val['coin_type'] != 4){?>
	<td style="text-align:center"><?php _e($val['invitation_detail']['active_time'] ? date('Y-m-d',$val['invitation_detail']['active_time']) : ''); ?></td>
    <?php }else{?>
    <td style="text-align:center"><?php _e(date('Y-m-d',$val['time'])); ?></td>
    <?php }?>
	<td style="text-align:center"><span><?php echo $val['coin'] . 'yoyow'; ?></span></td>
</tr>
<?php } ?>
<?php } ?>